//
//  ViewController.m
//  InnoBeacon
//
//  Created by INNO on 14-1-16.
//  Copyright (c) 2014年 com.inno-vision. All rights reserved.
//

#import "ViewController.h"
#import "MapViewController.h"


@interface ViewController ()

@end

@implementation ViewController


//http://www.apkbus.com/android-132132-1-1.html
- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    UIImage* image = [UIImage imageNamed:@"主页面.png"];
    self.view.backgroundColor = [UIColor colorWithPatternImage:image];
}

-(NSUInteger) supportedInterfaceOrientations
{
    return UIInterfaceOrientationMaskPortrait;
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



-(IBAction)locationMypositionOnMap:(id)sender
{
    MapViewController* mapcontroller = [[MapViewController alloc] init];
    [self.view addSubview:mapcontroller.view];

}



@end
